package com.xqboss.apps.domain.consumer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xqboss.apps.domain.BaseTable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 *     队伍打卡统计表
 * </p>
 * @author Trent
 * @date 2023/9/8
 */
@Data
@ApiModel
public class TeamPunchStat extends BaseTable {
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("统计日期")
    private LocalDate statDate;
    @ApiModelProperty("队伍ID")
    private Integer teamId;
    @ApiModelProperty("打卡总次数")
    private Integer punchCount;
    @ApiModelProperty("打卡用户总数")
    private Integer punchUserCount;
    @ApiModelProperty("打卡增益")
    private BigDecimal memberGain;
    @ApiModelProperty("是否结算")
    private Boolean isSettle;
    @ApiModelProperty("结算时间")
    private LocalDateTime settleTime;
}
